home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Electronic Plus
/
PC Electronics Plus (Most Significant Bits)(1995).ISO
/
logsim
/
outsampl.bat
< prev
Wrap
DOS Batch File
|
1986-08-21
|
2KB
|
52 lines
rem Please place the LOGSIM disk in the default disk drive, if it is
rem not already there.
pause
cls
rem This is the output sample generator for LOGSIM. To see the
rem results of the PRINT option, you must have already run your
rem DOS graphics print screen program. This is called GRAPHICS.COM
rem under PC-DOS, and is one of the PSCxxxxx.COM programs under MS-DOS.
rem Refer to your DOS manual for more information
rem
rem The file "0124" is a simulation of a 3-bit counter that counts
rem in the pattern 0 - 1 - 2 - 4 - 0 - 1 - ... Reading nodes 13, 14,
rem and 15 (13 is most significant) in binary yields the pattern.
rem
pause
cls
rem First, using the DISPLAY option, we will demonstrate the timing
rem diagram on the CRT:
pause
logsim 0124.dis
rem Now we will demonstrate the output from the file option in LOGSIM. We
rem will output the results to the screen. Read the values in each column
rem vertically.
pause
logsim 0124.fil
pause
cls
rem Now, a demonstration of the output resulting from the FPRINT option.
rem Make sure that your printer is set up correctly, and then hit any key.
rem If you do not wish to view the printer versions of the output,
rem hit control-break and answer "Y" to the "Terminate batch job (Y/N)?"
rem question.
pause
cls
logsim 0124.fpr
rem
rem
rem
rem
rem Now, the results with the PRINT option.
pause
logsim 0124.pri
rem
rem
rem
rem There, that's all four output modes. You will have to determine which
rem is best suited to your needs. DISPLAY is useful for debugging, FPRINT
rem is for harder debugging, FILE is useful to compare two (supposedly)
rem similar circuits (use the DOS utility COMP or FC), and PRINT is useful
rem for getting your finish copy of the timing diagram.